package cn.rumoss.basic;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * @ClassName Student
 * @Description //TODO
 * @Author HeCG
 * @Date 19-5-19 上午12:32
 */
public class Student implements Serializable {

    private String name;
    private String age;
    private ArrayList<String> grades = new ArrayList();

    public void add(String grade){
        grades.add(grade);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
